import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wwy
 * Date: 2024-05-18
 * Time: 14:32
 */
public class Test014 {
    public static void main(String[] args) {
        int[] arr={1,2,3,4,5,6,7,8,9};
        int[] cop= Arrays.copyOfRange(arr,0,9);
        System.out.println(Arrays.toString(cop));
    }
}
